package fg.objects;

import org.newdawn.slick.Graphics;

public class FishingLine {

	protected Rod rod; // from
	protected Lure lure; // to
	
	public FishingLine(Rod rod, Lure lure) {
		this.rod = rod;
		this.lure = lure;
	}
	
	public void render(Graphics g) {
		if (rod.lureAttached) return;
		g.drawLine(rod.getX() + rod.attachedX, rod.getY() + rod.attachedY, lure.getX(), lure.getY());
	}
	
}
